﻿CREATE PROCEDURE GetPersonByAgeRange

@startAge INT = NULL,
@endAge INT =NULL

AS

BEGIN

Select Id, FirstName, Surname
FROM Person
Where Age  BETWEEN @startAge AND @endAge

END